
package com.market.service;

import java.sql.Connection;

import com.market.dao.GenericDao;
import com.market.dao.ICustomerDAO;
import com.market.dao.ILineitemDAO;
import com.market.dao.IMessageDAO;
import com.market.dao.IMsgBoardDAO;
import com.market.dao.IOrdersDAO;
import com.market.dao.IProCriDAO;
import com.market.dao.IProductDAO;
import com.market.dao.IScrollDAO;
import com.market.dao.ISubproductDAO;
import com.market.dao.ISupplierDAO;

public interface IBaseService
{
    public abstract void setLineitemDAO(ILineitemDAO lineitemDAO);

    public abstract ILineitemDAO getLineitemDAO();

    public abstract IOrdersDAO getOrdersDAO();

    public abstract void setOrdersDAO(IOrdersDAO ordersDAO);

    public abstract ISubproductDAO getSubproductDAO();

    public abstract void setSubproductDAO(ISubproductDAO subproductDAO);

    public abstract IProCriDAO getProCriDAO();

    public abstract void setProCriDAO(IProCriDAO proCriDAO);

    public abstract ISupplierDAO getSupplierDAO();

    public abstract void setSupplierDAO(ISupplierDAO supplierDAO);

    public abstract IMessageDAO getMessageDAO();

    public abstract void setMessageDAO(IMessageDAO messageDAO);

    public abstract ICustomerDAO getCustomerDAO();

    public abstract void setCustomerDAO(ICustomerDAO customerDAO);

    public abstract IProductDAO getProductDAO();

    public abstract void setProductDAO(IProductDAO productDAO);

    public abstract IScrollDAO getScrollDAO();

    public abstract void setScrollDAO(IScrollDAO scrollDAO);

    public abstract void saveOrUpdate(Object obj);

    public abstract void delete(Object obj);

    public abstract GenericDao getBaseDAO();

    public abstract void setBaseDAO(GenericDao baseDAO);

    public abstract IMsgBoardDAO getMsgboardDAO();

    public abstract void setMsgboardDAO(IMsgBoardDAO msgBoardDAO);
    
    public abstract Connection getConnection();

}
